-- GENERATED SPELL FOR [Stormscale Myrmidon] --


function spell0_2181(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(5164,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2181', 2000, 1)
end

function Sorts_2181(pUnit, Event)
local choix_sorts_2181 = math.random(0, 0)
if choix_sorts_2181 == 0 then
pUnit:RegisterEvent('spell0_2181', 1, 1)
end
end

function mob2181_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2181', math.random(1500, 3000), 1)
end

function mob2181_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2181_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2181_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2181, 1, 'mob2181_Action')
RegisterUnitEvent(2181, 2, 'mob2181_Leave')
RegisterUnitEvent(2181, 3, 'mob2181_Kill')
RegisterUnitEvent(2181, 4, 'mob2181_Die')
